<template>
  <div>
    <button @click="login">login</button>
  </div>
</template>

<script>
export default {
  name: "HelloWorld",
  data() {
    return {};
  },
  methods: {
    login() {
      this.$router.push("/home");
    }
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="less">
button {
  width: 200px;
  height: 40px;
  text-align: center;
  line-height: 40px;
}
</style>
